Skip to main content

SystemDialogInput

Wolfram Kernel
Execution environment
SystemDialogInput[type_String, opts___]

opens a OS dialog window to operate with IO.

warning

This call blocks the whole Wolfram Kernel, use SystemDialogInputAsync for asynchronous dialog window

note

This feature is currently available only for WLJS Desktop App

type

"FileOpen"

Opens a file browser. Filters can be provided as well

SystemDialogInput["FileOpen", {Null, {"Tabular Formats" -> {"*.csv", "*.tsv"}, "Plain Text Document" -> {"*.txt"}}}]

"FileSave"

Opens a file saving dialog. Filters can be provided as well

SystemDialogInput["FileSave", {Null, {"Tabular Formats" -> {"*.csv", "*.tsv"}, "Plain Text Document" -> {"*.txt"}}}]

"OpenList"

Opens a file browser with multiple selections. Filters can be provided as well similar to FileOpen type.

"Directory"

Opens a dialog to select a directory

SystemDialogInput["Directory"]

General options

WindowTitle

The title of the browser window

"Window"

A window to which the dialog will be assigned. By the default is CurrentWindow